home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / winit / winit.bas < prev    next >
Encoding:
BASIC Source File  |  1993-12-10  |  740 b   |  23 lines

  1. PRINT ""
  2. PRINT "This file may be run with the command QBASIC /RUN winit.bas"
  3. PRINT ""
  4. INPUT "Enter the name of a Windows program: ", prog$
  5. PRINT ""
  6. PRINT "If you have enabled AUTOMATIC mode " + prog$ + " will be run."
  7. PRINT "If you have not, you will get a one line message from " + prog$ + "."
  8. PRINT ""
  9. SHELL prog$
  10. SHELL "pause"
  11. SYSTEM
  12.  
  13. REM---------------------------------------------------------------------------
  14. REM   This (toy) program demonstrates how any DOS program can spawn any other
  15. REM   program as long as WinIT! is installed and automatic mode is on.
  16. REM
  17. REM   To run it type the command:
  18. REM
  19. REM     QBASIC /RUN WINIT
  20. REM
  21. REM---------------------------------------------------------------------------
  22.  
  23.